home *** CD-ROM | disk | FTP | other *** search
/ PC PowerPlay 49 / PCPP49a.iso / editors / sofsdk / SoF SDK.msi / _A43C6087EE8349099B0ADA5A63B19C9C < prev    next >
Encoding:
Text File  |  2000-03-27  |  716 b   |  19 lines

  1. // template file for common directory
  2.  
  3. #include "../common/header.ds"
  4.  
  5. output "p:/base/ds/common"
  6.  
  7. parameter entity deadguy // This is the enemy that should be falling
  8. parameter vector falldist // This is the direction and distance that he should go
  9. parameter entity breakbrush // This is the entity (such as a railing) that the enemy should bust through
  10.  
  11. // If there is no railing, make sure to set the breakbrush parameter to the same as the dying enemy parm
  12. // That way, it will ignore breaking it
  13. if breakbrush != deadguy
  14.     use entity breakbrush
  15. endif
  16.  
  17.     animate entity deadguy performing action PRN_XFALLING_N_N_N by moving falldist
  18.     animate entity deadguy performing action PRN_XFALLLAND_N_N_N
  19.